package com.fanqj.sentinel.config;

import com.alibaba.csp.sentinel.annotation.aspectj.SentinelResourceAspect;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * sentinel注解aop配置
 * @author <a href="mailto:fanqijin@wxchina.com">fanqj</a>
 * @Date 2021年02月01日 15:27
 * @Version 6.4.1
 */
@Configuration
public class SentinelAspectConfiguration {
    @Bean
    public SentinelResourceAspect sentinelResourceAspect() {
        return new SentinelResourceAspect();
    }
}
